//---------------------------------------------------------------------------


#pragma hdrstop

#include "CommonFunction.h"
#include <math.h>
#include <SysUtils.hpp>

//---------------------------------------------------------------------------

#pragma package(smart_init)

AnsiString __fastcall FloatToStrF(const float Value)
{
   AnsiString Result;

   if (fabs(Value) < 0.0001)
      Result = "0";
   else
      Result = Result.FormatFloat("#.##", Value);

   return Result;
}
